// 存token
export const KEY = 'mj-element-token'

export const getToken = (key) => {
  return localStorage.getItem(key) && JSON.parse(localStorage.getItem(key))
}
export const setToken = (key, value) => {
  return localStorage.getItem(key, value)
}
export const removeToken = (key) => {
  return localStorage.removeItem(key)
}
